package net.ibizsys.modeling.plugin.groovy;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Page;

import com.fasterxml.jackson.annotation.JsonIgnore;

import groovy.transform.CompileStatic;
import net.ibizsys.central.cloud.core.dataentity.service.IProxyDEService;
import net.ibizsys.central.util.EntityDTO;
import net.ibizsys.central.util.IEntityDTO;
import net.ibizsys.central.util.SearchContextDTO;
import net.ibizsys.model.dataentity.service.IPSDEMethodDTO;

@CompileStatic
class DEModels {

    public static abstract class PSModelBase extends EntityDTO {
		
		// /**
		//  * 属性: 标识
		//  */
		// public final static String FIELD_ID = "id";
		
		// @JsonIgnore
		// public void setId(String val) {
		// 	if(this.getDEMethodDTORuntime() != null) {
		// 		this.set(this.getDEMethodDTORuntime().getDataEntityRuntime().getKeyPSDEField().getLowerCaseName(), val);
		// 		return;
		// 	}
		// 	this.set(FIELD_ID, val);
		// }

        // /**
		//  * 属性: 名称
		//  */
		// public final static String FIELD_ID = "id";
		
		// @JsonIgnore
		// public void setId(String val) {
		// 	if(this.getDEMethodDTORuntime() != null) {
		// 		this.set(this.getDEMethodDTORuntime().getDataEntityRuntime().getKeyPSDEField().getLowerCaseName(), val);
		// 		return;
		// 	}
		// 	this.set(FIELD_ID, val);
		// }

		// @JsonIgnore
		// public String getId() {
		// 	if(this.getDEMethodDTORuntime() != null) {
		// 		return this.getString(this.getDEMethodDTORuntime().getDataEntityRuntime().getKeyPSDEField().getLowerCaseName(), null);
		// 	}
		// 	return this.getString(FIELD_ID, null);
		// }
	}

    /**
     *  视图部件
     */
    public final static String PSASVIEWCTRL = "PSASVIEWCTRL";

    public static class PSASViewCtrlDTO extends PSModelBase {

        public final static String FIELD_CODENAME = "codename";

        @JsonIgnore
        public String getCodeName() {
            getString(FIELD_CODENAME, null);
        }
       
        @JsonIgnore
        public void setCodeName(String value) {
            set(FIELD_CODENAME, value);
        }

        public final static String FIELD_CREATEDATE = "createdate";

        @JsonIgnore
        public java.sql.Timestamp getCreateDate() {
            getTimestamp(FIELD_CREATEDATE, null);
        }
       
        @JsonIgnore
        public void setCreateDate(java.sql.Timestamp value) {
            set(FIELD_CREATEDATE, value);
        }

        public final static String FIELD_CREATEMAN = "createman";

        @JsonIgnore
        public String getCreateMan() {
            getString(FIELD_CREATEMAN, null);
        }
       
        @JsonIgnore
        public void setCreateMan(String value) {
            set(FIELD_CREATEMAN, value);
        }

        public final static String FIELD_IMAGEPATH = "imagepath";

        @JsonIgnore
        public String getImagePath() {
            getString(FIELD_IMAGEPATH, null);
        }
       
        @JsonIgnore
        public void setImagePath(String value) {
            set(FIELD_IMAGEPATH, value);
        }

        public final static String FIELD_MEMO = "memo";

        @JsonIgnore
        public String getMemo() {
            getString(FIELD_MEMO, null);
        }
       
        @JsonIgnore
        public void setMemo(String value) {
            set(FIELD_MEMO, value);
        }

        public final static String FIELD_PSASVIEWCTRLID = "psasviewctrlid";

        @JsonIgnore
        public String getPSASViewCtrlId() {
            getString(FIELD_PSASVIEWCTRLID, null);
        }
       
        @JsonIgnore
        public void setPSASViewCtrlId(String value) {
            set(FIELD_PSASVIEWCTRLID, value);
        }

        public final static String FIELD_PSASVIEWCTRLNAME = "psasviewctrlname";

        @JsonIgnore
        public String getPSASViewCtrlName() {
            getString(FIELD_PSASVIEWCTRLNAME, null);
        }
       
        @JsonIgnore
        public void setPSASViewCtrlName(String value) {
            set(FIELD_PSASVIEWCTRLNAME, value);
        }

        public final static String FIELD_PSCTRLID = "psctrlid";

        @JsonIgnore
        public String getPSCtrlId() {
            getString(FIELD_PSCTRLID, null);
        }
       
        @JsonIgnore
        public void setPSCtrlId(String value) {
            set(FIELD_PSCTRLID, value);
        }

        public final static String FIELD_PSCTRLNAME = "psctrlname";

        @JsonIgnore
        public String getPSCtrlName() {
            getString(FIELD_PSCTRLNAME, null);
        }
       
        @JsonIgnore
        public void setPSCtrlName(String value) {
            set(FIELD_PSCTRLNAME, value);
        }

        public final static String FIELD_PSCTRLTYPE = "psctrltype";

        @JsonIgnore
        public String getPSCtrlType() {
            getString(FIELD_PSCTRLTYPE, null);
        }
       
        @JsonIgnore
        public void setPSCtrlType(String value) {
            set(FIELD_PSCTRLTYPE, value);
        }

        public final static String FIELD_PSDEID = "psdeid";

        @JsonIgnore
        public String getPSDEId() {
            getString(FIELD_PSDEID, null);
        }
       
        @JsonIgnore
        public void setPSDEId(String value) {
            set(FIELD_PSDEID, value);
        }

        public final static String FIELD_PSDENAME = "psdename";

        @JsonIgnore
        public String getPSDEName() {
            getString(FIELD_PSDENAME, null);
        }
       
        @JsonIgnore
        public void setPSDEName(String value) {
            set(FIELD_PSDENAME, value);
        }

        public final static String FIELD_PSVIEWID = "psviewid";

        @JsonIgnore
        public String getPSViewId() {
            getString(FIELD_PSVIEWID, null);
        }
       
        @JsonIgnore
        public void setPSViewId(String value) {
            set(FIELD_PSVIEWID, value);
        }

        public final static String FIELD_PSVIEWTYPE = "psviewtype";

        @JsonIgnore
        public String getPSViewType() {
            getString(FIELD_PSVIEWTYPE, null);
        }
       
        @JsonIgnore
        public void setPSViewType(String value) {
            set(FIELD_PSVIEWTYPE, value);
        }

        public final static String FIELD_UPDATEDATE = "updatedate";

        @JsonIgnore
        public java.sql.Timestamp getUpdateDate() {
            getTimestamp(FIELD_UPDATEDATE, null);
        }
       
        @JsonIgnore
        public void setUpdateDate(java.sql.Timestamp value) {
            set(FIELD_UPDATEDATE, value);
        }

        public final static String FIELD_UPDATEMAN = "updateman";

        @JsonIgnore
        public String getUpdateMan() {
            getString(FIELD_UPDATEMAN, null);
        }
       
        @JsonIgnore
        public void setUpdateMan(String value) {
            set(FIELD_UPDATEMAN, value);
        }
    }

    @Qualifier(PSASVIEWCTRL)
    public static interface IPSASViewCtrlService extends IProxyDEService<PSASViewCtrlDTO, SearchContextDTO>{

        /**
         * 集合标识: 根据实体和类型过滤
         *
         */
        public final static String DATASET_DEANDTYPE = "DEANDTYPE";

        /**
         * 集合: 根据实体和类型过滤
         *
         */
        Page<PSASViewCtrlDTO> fetchDEAndType(SearchContextDTO dto) throws Throwable;

        /**
         * 集合标识: 数据集
         *
         */
        public final static String DATASET_DEFAULT = "DEFAULT";

        /**
         * 集合: 数据集
         *
         */
        Page<PSASViewCtrlDTO> fetchDefault(SearchContextDTO dto) throws Throwable;

        /**
         * 集合标识: 模块部件集合
         *
         */
        public final static String DATASET_MODULECTRLS = "MODULECTRLS";

        /**
         * 集合: 模块部件集合
         *
         */
        Page<PSASViewCtrlDTO> fetchModuleCtrls(SearchContextDTO dto) throws Throwable;

        /**
         * 集合标识: 部件关联视图集合
         *
         */
        public final static String DATASET_UWVIEWCTRL = "UWVIEWCTRL";

        /**
         * 集合: 部件关联视图集合
         *
         */
        Page<PSASViewCtrlDTO> fetchUWViewCtrl(SearchContextDTO dto) throws Throwable;

        /**
         * 集合标识: 部件关联视图集合
         *
         */
        public final static String DATASET_VIEWCTRLREFVIEW = "VIEWCTRLREFVIEW";

        /**
         * 集合: 部件关联视图集合
         *
         */
        Page<PSASViewCtrlDTO> fetchViewCtrlRefView(SearchContextDTO dto) throws Throwable;

        /**
         * 集合标识: 视图部件集合
         *
         */
        public final static String DATASET_VIEWREALCTRLS = "VIEWREALCTRLS";

        /**
         * 集合: 视图部件集合
         *
         */
        Page<PSASViewCtrlDTO> fetchViewRealCtrls(SearchContextDTO dto) throws Throwable;

        /**
         * 集合标识: 流程关联界面对象
         *
         */
        public final static String DATASET_WFVERSIONUIREF = "WFVERSIONUIREF";

        /**
         * 集合: 流程关联界面对象
         *
         */
        Page<PSASViewCtrlDTO> fetchWFVersionUIRef(SearchContextDTO dto) throws Throwable;
    }

    /**
     *  应用视图向导
     */
    public final static String PSUWAPPVIEW = "PSUWAPPVIEW";

    public static class PSUWAppViewDTO extends PSModelBase {

        public final static String FIELD_PSDEVSLNSYSID = "psdevslnsysid";

        @JsonIgnore
        public String getPSDevSlnSysId() {
            getString(FIELD_PSDEVSLNSYSID, null);
        }
       
        @JsonIgnore
        public void setPSDevSlnSysId(String value) {
            set(FIELD_PSDEVSLNSYSID, value);
        }

        public final static String FIELD_CAPTION = "caption";

        @JsonIgnore
        public String getCaption() {
            getString(FIELD_CAPTION, null);
        }
       
        @JsonIgnore
        public void setCaption(String value) {
            set(FIELD_CAPTION, value);
        }

        public final static String FIELD_CODENAME = "codename";

        @JsonIgnore
        public String getCodeName() {
            getString(FIELD_CODENAME, null);
        }
       
        @JsonIgnore
        public void setCodeName(String value) {
            set(FIELD_CODENAME, value);
        }

        public final static String FIELD_CREATEDATE = "createdate";

        @JsonIgnore
        public java.sql.Timestamp getCreateDate() {
            getTimestamp(FIELD_CREATEDATE, null);
        }
       
        @JsonIgnore
        public void setCreateDate(java.sql.Timestamp value) {
            set(FIELD_CREATEDATE, value);
        }

        public final static String FIELD_CREATEMAN = "createman";

        @JsonIgnore
        public String getCreateMan() {
            getString(FIELD_CREATEMAN, null);
        }
       
        @JsonIgnore
        public void setCreateMan(String value) {
            set(FIELD_CREATEMAN, value);
        }

        public final static String FIELD_ENABLESRCPSDEVIEW = "enablesrcpsdeview";

        @JsonIgnore
        public Integer getEnableSrcPSDEView() {
            getInteger(FIELD_ENABLESRCPSDEVIEW, null);
        }
       
        @JsonIgnore
        public void setEnableSrcPSDEView(Integer value) {
            set(FIELD_ENABLESRCPSDEVIEW, value);
        }

        public final static String FIELD_LISTCTRLPARAM = "listctrlparam";

        @JsonIgnore
        public String getListCtrlParam() {
            getString(FIELD_LISTCTRLPARAM, null);
        }
       
        @JsonIgnore
        public void setListCtrlParam(String value) {
            set(FIELD_LISTCTRLPARAM, value);
        }

        public final static String FIELD_LOADDEFAULT = "loaddefault";

        @JsonIgnore
        public Integer getLoadDefault() {
            getInteger(FIELD_LOADDEFAULT, null);
        }
       
        @JsonIgnore
        public void setLoadDefault(Integer value) {
            set(FIELD_LOADDEFAULT, value);
        }

        public final static String FIELD_MDCTRLPARAM = "mdctrlparam";

        @JsonIgnore
        public String getMDCtrlParam() {
            getString(FIELD_MDCTRLPARAM, null);
        }
       
        @JsonIgnore
        public void setMDCtrlParam(String value) {
            set(FIELD_MDCTRLPARAM, value);
        }

        public final static String FIELD_PSACHANDLERID = "psachandlerid";

        @JsonIgnore
        public String getPSACHandlerId() {
            getString(FIELD_PSACHANDLERID, null);
        }
       
        @JsonIgnore
        public void setPSACHandlerId(String value) {
            set(FIELD_PSACHANDLERID, value);
        }

        public final static String FIELD_PSACHANDLERNAME = "psachandlername";

        @JsonIgnore
        public String getPSACHandlerName() {
            getString(FIELD_PSACHANDLERNAME, null);
        }
       
        @JsonIgnore
        public void setPSACHandlerName(String value) {
            set(FIELD_PSACHANDLERNAME, value);
        }

        public final static String FIELD_PSAPPMODULEID = "psappmoduleid";

        @JsonIgnore
        public String getPSAppModuleId() {
            getString(FIELD_PSAPPMODULEID, null);
        }
       
        @JsonIgnore
        public void setPSAppModuleId(String value) {
            set(FIELD_PSAPPMODULEID, value);
        }

        public final static String FIELD_PSAPPMODULENAME = "psappmodulename";

        @JsonIgnore
        public String getPSAppModuleName() {
            getString(FIELD_PSAPPMODULENAME, null);
        }
       
        @JsonIgnore
        public void setPSAppModuleName(String value) {
            set(FIELD_PSAPPMODULENAME, value);
        }

        public final static String FIELD_PSAPPVIEWID = "psappviewid";

        @JsonIgnore
        public String getPSAppViewId() {
            getString(FIELD_PSAPPVIEWID, null);
        }
       
        @JsonIgnore
        public void setPSAppViewId(String value) {
            set(FIELD_PSAPPVIEWID, value);
        }

        public final static String FIELD_PSAPPVIEWNAME = "psappviewname";

        @JsonIgnore
        public String getPSAppViewName() {
            getString(FIELD_PSAPPVIEWNAME, null);
        }
       
        @JsonIgnore
        public void setPSAppViewName(String value) {
            set(FIELD_PSAPPVIEWNAME, value);
        }

        public final static String FIELD_PSAPPVIEWTYPE = "psappviewtype";

        @JsonIgnore
        public String getPSAppViewType() {
            getString(FIELD_PSAPPVIEWTYPE, null);
        }
       
        @JsonIgnore
        public void setPSAppViewType(String value) {
            set(FIELD_PSAPPVIEWTYPE, value);
        }

        public final static String FIELD_PSCTRLID = "psctrlid";

        @JsonIgnore
        public String getPSCtrlId() {
            getString(FIELD_PSCTRLID, null);
        }
       
        @JsonIgnore
        public void setPSCtrlId(String value) {
            set(FIELD_PSCTRLID, value);
        }

        public final static String FIELD_PSCTRLNAME = "psctrlname";

        @JsonIgnore
        public String getPSCtrlName() {
            getString(FIELD_PSCTRLNAME, null);
        }
       
        @JsonIgnore
        public void setPSCtrlName(String value) {
            set(FIELD_PSCTRLNAME, value);
        }

        public final static String FIELD_PSCTRLTYPEID = "psctrltypeid";

        @JsonIgnore
        public String getPSCtrlTypeId() {
            getString(FIELD_PSCTRLTYPEID, null);
        }
       
        @JsonIgnore
        public void setPSCtrlTypeId(String value) {
            set(FIELD_PSCTRLTYPEID, value);
        }

        public final static String FIELD_PSCTRLTYPENAME = "psctrltypename";

        @JsonIgnore
        public String getPSCtrlTypeName() {
            getString(FIELD_PSCTRLTYPENAME, null);
        }
       
        @JsonIgnore
        public void setPSCtrlTypeName(String value) {
            set(FIELD_PSCTRLTYPENAME, value);
        }

        public final static String FIELD_PSDEDRID = "psdedrid";

        @JsonIgnore
        public String getPSDEDRId() {
            getString(FIELD_PSDEDRID, null);
        }
       
        @JsonIgnore
        public void setPSDEDRId(String value) {
            set(FIELD_PSDEDRID, value);
        }

        public final static String FIELD_PSDEDRNAME = "psdedrname";

        @JsonIgnore
        public String getPSDEDRName() {
            getString(FIELD_PSDEDRNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEDRName(String value) {
            set(FIELD_PSDEDRNAME, value);
        }

        public final static String FIELD_PSDEDATASETID = "psdedatasetid";

        @JsonIgnore
        public String getPSDEDataSetId() {
            getString(FIELD_PSDEDATASETID, null);
        }
       
        @JsonIgnore
        public void setPSDEDataSetId(String value) {
            set(FIELD_PSDEDATASETID, value);
        }

        public final static String FIELD_PSDEDATASETNAME = "psdedatasetname";

        @JsonIgnore
        public String getPSDEDataSetName() {
            getString(FIELD_PSDEDATASETNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEDataSetName(String value) {
            set(FIELD_PSDEDATASETNAME, value);
        }

        public final static String FIELD_PSDEDATAVIEWID = "psdedataviewid";

        @JsonIgnore
        public String getPSDEDataViewId() {
            getString(FIELD_PSDEDATAVIEWID, null);
        }
       
        @JsonIgnore
        public void setPSDEDataViewId(String value) {
            set(FIELD_PSDEDATAVIEWID, value);
        }

        public final static String FIELD_PSDEDATAVIEWNAME = "psdedataviewname";

        @JsonIgnore
        public String getPSDEDataViewName() {
            getString(FIELD_PSDEDATAVIEWNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEDataViewName(String value) {
            set(FIELD_PSDEDATAVIEWNAME, value);
        }

        public final static String FIELD_PSDEFORMID = "psdeformid";

        @JsonIgnore
        public String getPSDEFormId() {
            getString(FIELD_PSDEFORMID, null);
        }
       
        @JsonIgnore
        public void setPSDEFormId(String value) {
            set(FIELD_PSDEFORMID, value);
        }

        public final static String FIELD_PSDEFORMNAME = "psdeformname";

        @JsonIgnore
        public String getPSDEFormName() {
            getString(FIELD_PSDEFORMNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEFormName(String value) {
            set(FIELD_PSDEFORMNAME, value);
        }

        public final static String FIELD_PSDEGRIDID = "psdegridid";

        @JsonIgnore
        public String getPSDEGridId() {
            getString(FIELD_PSDEGRIDID, null);
        }
       
        @JsonIgnore
        public void setPSDEGridId(String value) {
            set(FIELD_PSDEGRIDID, value);
        }

        public final static String FIELD_PSDEGRIDNAME = "psdegridname";

        @JsonIgnore
        public String getPSDEGridName() {
            getString(FIELD_PSDEGRIDNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEGridName(String value) {
            set(FIELD_PSDEGRIDNAME, value);
        }

        public final static String FIELD_PSDEID = "psdeid";

        @JsonIgnore
        public String getPSDEId() {
            getString(FIELD_PSDEID, null);
        }
       
        @JsonIgnore
        public void setPSDEId(String value) {
            set(FIELD_PSDEID, value);
        }

        public final static String FIELD_PSDELISTID = "psdelistid";

        @JsonIgnore
        public String getPSDEListId() {
            getString(FIELD_PSDELISTID, null);
        }
       
        @JsonIgnore
        public void setPSDEListId(String value) {
            set(FIELD_PSDELISTID, value);
        }

        public final static String FIELD_PSDELISTNAME = "psdelistname";

        @JsonIgnore
        public String getPSDEListName() {
            getString(FIELD_PSDELISTNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEListName(String value) {
            set(FIELD_PSDELISTNAME, value);
        }

        public final static String FIELD_PSDENAME = "psdename";

        @JsonIgnore
        public String getPSDEName() {
            getString(FIELD_PSDENAME, null);
        }
       
        @JsonIgnore
        public void setPSDEName(String value) {
            set(FIELD_PSDENAME, value);
        }

        public final static String FIELD_PSDESEARCHFORMID = "psdesearchformid";

        @JsonIgnore
        public String getPSDESearchFormId() {
            getString(FIELD_PSDESEARCHFORMID, null);
        }
       
        @JsonIgnore
        public void setPSDESearchFormId(String value) {
            set(FIELD_PSDESEARCHFORMID, value);
        }

        public final static String FIELD_PSDESEARCHFORMNAME = "psdesearchformname";

        @JsonIgnore
        public String getPSDESearchFormName() {
            getString(FIELD_PSDESEARCHFORMNAME, null);
        }
       
        @JsonIgnore
        public void setPSDESearchFormName(String value) {
            set(FIELD_PSDESEARCHFORMNAME, value);
        }

        public final static String FIELD_PSDETOOLBARID = "psdetoolbarid";

        @JsonIgnore
        public String getPSDEToolbarId() {
            getString(FIELD_PSDETOOLBARID, null);
        }
       
        @JsonIgnore
        public void setPSDEToolbarId(String value) {
            set(FIELD_PSDETOOLBARID, value);
        }

        public final static String FIELD_PSDETOOLBARNAME = "psdetoolbarname";

        @JsonIgnore
        public String getPSDEToolbarName() {
            getString(FIELD_PSDETOOLBARNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEToolbarName(String value) {
            set(FIELD_PSDETOOLBARNAME, value);
        }

        public final static String FIELD_PSDEVIEWBASEID = "psdeviewbaseid";

        @JsonIgnore
        public String getPSDEViewBaseId() {
            getString(FIELD_PSDEVIEWBASEID, null);
        }
       
        @JsonIgnore
        public void setPSDEViewBaseId(String value) {
            set(FIELD_PSDEVIEWBASEID, value);
        }

        public final static String FIELD_PSDEVIEWBASENAME = "psdeviewbasename";

        @JsonIgnore
        public String getPSDEViewBaseName() {
            getString(FIELD_PSDEVIEWBASENAME, null);
        }
       
        @JsonIgnore
        public void setPSDEViewBaseName(String value) {
            set(FIELD_PSDEVIEWBASENAME, value);
        }

        public final static String FIELD_PSDEVIEWBASETYPE = "psdeviewbasetype";

        @JsonIgnore
        public String getPSDEViewBaseType() {
            getString(FIELD_PSDEVIEWBASETYPE, null);
        }
       
        @JsonIgnore
        public void setPSDEViewBaseType(String value) {
            set(FIELD_PSDEVIEWBASETYPE, value);
        }

        public final static String FIELD_PSDEVIEWID = "psdeviewid";

        @JsonIgnore
        public String getPSDEViewId() {
            getString(FIELD_PSDEVIEWID, null);
        }
       
        @JsonIgnore
        public void setPSDEViewId(String value) {
            set(FIELD_PSDEVIEWID, value);
        }

        public final static String FIELD_PSDEVIEWNAME = "psdeviewname";

        @JsonIgnore
        public String getPSDEViewName() {
            getString(FIELD_PSDEVIEWNAME, null);
        }
       
        @JsonIgnore
        public void setPSDEViewName(String value) {
            set(FIELD_PSDEVIEWNAME, value);
        }

        public final static String FIELD_PSSFACHANDLERID = "pssfachandlerid";

        @JsonIgnore
        public String getPSSFACHandlerId() {
            getString(FIELD_PSSFACHANDLERID, null);
        }
       
        @JsonIgnore
        public void setPSSFACHandlerId(String value) {
            set(FIELD_PSSFACHANDLERID, value);
        }

        public final static String FIELD_PSSFACHANDLERNAME = "pssfachandlername";

        @JsonIgnore
        public String getPSSFACHandlerName() {
            getString(FIELD_PSSFACHANDLERNAME, null);
        }
       
        @JsonIgnore
        public void setPSSFACHandlerName(String value) {
            set(FIELD_PSSFACHANDLERNAME, value);
        }

        public final static String FIELD_PSSYSAPPID = "pssysappid";

        @JsonIgnore
        public String getPSSysAppId() {
            getString(FIELD_PSSYSAPPID, null);
        }
       
        @JsonIgnore
        public void setPSSysAppId(String value) {
            set(FIELD_PSSYSAPPID, value);
        }

        public final static String FIELD_PSUWAPPVIEWID = "psuwappviewid";

        @JsonIgnore
        public String getPSUWAppViewId() {
            getString(FIELD_PSUWAPPVIEWID, null);
        }
       
        @JsonIgnore
        public void setPSUWAppViewId(String value) {
            set(FIELD_PSUWAPPVIEWID, value);
        }

        public final static String FIELD_PSUWAPPVIEWNAME = "psuwappviewname";

        @JsonIgnore
        public String getPSUWAppViewName() {
            getString(FIELD_PSUWAPPVIEWNAME, null);
        }
       
        @JsonIgnore
        public void setPSUWAppViewName(String value) {
            set(FIELD_PSUWAPPVIEWNAME, value);
        }

        public final static String FIELD_PREDEFINEDVIEWTYPE = "predefineviewtype";

        @JsonIgnore
        public String getPredefinedViewType() {
            getString(FIELD_PREDEFINEDVIEWTYPE, null);
        }
       
        @JsonIgnore
        public void setPredefinedViewType(String value) {
            set(FIELD_PREDEFINEDVIEWTYPE, value);
        }

        public final static String FIELD_SRFNEXTFORM = "srfnextform";

        @JsonIgnore
        public String getSRFNextForm() {
            getString(FIELD_SRFNEXTFORM, null);
        }
       
        @JsonIgnore
        public void setSRFNextForm(String value) {
            set(FIELD_SRFNEXTFORM, value);
        }

        public final static String FIELD_SRCPSDEVIEWID = "srcpsdeviewid";

        @JsonIgnore
        public String getSrcPSDEViewId() {
            getString(FIELD_SRCPSDEVIEWID, null);
        }
       
        @JsonIgnore
        public void setSrcPSDEViewId(String value) {
            set(FIELD_SRCPSDEVIEWID, value);
        }

        public final static String FIELD_SRCPSDEVIEWNAME = "srcpsdeviewname";

        @JsonIgnore
        public String getSrcPSDEViewName() {
            getString(FIELD_SRCPSDEVIEWNAME, null);
        }
       
        @JsonIgnore
        public void setSrcPSDEViewName(String value) {
            set(FIELD_SRCPSDEVIEWNAME, value);
        }

        public final static String FIELD_TITLE = "title";

        @JsonIgnore
        public String getTitle() {
            getString(FIELD_TITLE, null);
        }
       
        @JsonIgnore
        public void setTitle(String value) {
            set(FIELD_TITLE, value);
        }

        public final static String FIELD_UPDATEDATE = "updatedate";

        @JsonIgnore
        public java.sql.Timestamp getUpdateDate() {
            getTimestamp(FIELD_UPDATEDATE, null);
        }
       
        @JsonIgnore
        public void setUpdateDate(java.sql.Timestamp value) {
            set(FIELD_UPDATEDATE, value);
        }

        public final static String FIELD_UPDATEMAN = "updateman";

        @JsonIgnore
        public String getUpdateMan() {
            getString(FIELD_UPDATEMAN, null);
        }
       
        @JsonIgnore
        public void setUpdateMan(String value) {
            set(FIELD_UPDATEMAN, value);
        }

        public final static String FIELD_VIEWPARAM = "viewparam";

        @JsonIgnore
        public String getViewParam() {
            getString(FIELD_VIEWPARAM, null);
        }
       
        @JsonIgnore
        public void setViewParam(String value) {
            set(FIELD_VIEWPARAM, value);
        }

        public final static String FIELD_VIEWPARAM10 = "viewparam10";

        @JsonIgnore
        public Integer getViewParam10() {
            getInteger(FIELD_VIEWPARAM10, null);
        }
       
        @JsonIgnore
        public void setViewParam10(Integer value) {
            set(FIELD_VIEWPARAM10, value);
        }

        public final static String FIELD_VIEWPARAM2 = "viewparam2";

        @JsonIgnore
        public String getViewParam2() {
            getString(FIELD_VIEWPARAM2, null);
        }
       
        @JsonIgnore
        public void setViewParam2(String value) {
            set(FIELD_VIEWPARAM2, value);
        }

        public final static String FIELD_VIEWPARAM3 = "viewparam3";

        @JsonIgnore
        public Integer getViewParam3() {
            getInteger(FIELD_VIEWPARAM3, null);
        }
       
        @JsonIgnore
        public void setViewParam3(Integer value) {
            set(FIELD_VIEWPARAM3, value);
        }

        public final static String FIELD_VIEWPARAM4 = "viewparam4";

        @JsonIgnore
        public Integer getViewParam4() {
            getInteger(FIELD_VIEWPARAM4, null);
        }
       
        @JsonIgnore
        public void setViewParam4(Integer value) {
            set(FIELD_VIEWPARAM4, value);
        }

        public final static String FIELD_VIEWPARAM5 = "viewparam5";

        @JsonIgnore
        public Integer getViewParam5() {
            getInteger(FIELD_VIEWPARAM5, null);
        }
       
        @JsonIgnore
        public void setViewParam5(Integer value) {
            set(FIELD_VIEWPARAM5, value);
        }

        public final static String FIELD_VIEWPARAM6 = "viewparam6";

        @JsonIgnore
        public Integer getViewParam6() {
            getInteger(FIELD_VIEWPARAM6, null);
        }
       
        @JsonIgnore
        public void setViewParam6(Integer value) {
            set(FIELD_VIEWPARAM6, value);
        }

        public final static String FIELD_VIEWPARAM7 = "viewparam7";

        @JsonIgnore
        public String getViewParam7() {
            getString(FIELD_VIEWPARAM7, null);
        }
       
        @JsonIgnore
        public void setViewParam7(String value) {
            set(FIELD_VIEWPARAM7, value);
        }

        public final static String FIELD_VIEWPARAM8 = "viewparam8";

        @JsonIgnore
        public String getViewParam8() {
            getString(FIELD_VIEWPARAM8, null);
        }
       
        @JsonIgnore
        public void setViewParam8(String value) {
            set(FIELD_VIEWPARAM8, value);
        }

        public final static String FIELD_VIEWPARAM9 = "viewparam9";

        @JsonIgnore
        public Integer getViewParam9() {
            getInteger(FIELD_VIEWPARAM9, null);
        }
       
        @JsonIgnore
        public void setViewParam9(Integer value) {
            set(FIELD_VIEWPARAM9, value);
        }

        public final static String FIELD_WIZARDMODE = "wizardmode";

        @JsonIgnore
        public String getWizardMode() {
            getString(FIELD_WIZARDMODE, null);
        }
       
        @JsonIgnore
        public void setWizardMode(String value) {
            set(FIELD_WIZARDMODE, value);
        }

        public final static String FIELD_WIZARDPARAM = "wizardparam";

        @JsonIgnore
        public String getWizardParam() {
            getString(FIELD_WIZARDPARAM, null);
        }
       
        @JsonIgnore
        public void setWizardParam(String value) {
            set(FIELD_WIZARDPARAM, value);
        }

        public final static String FIELD_WIZARDPARAM10 = "wizardparam10";

        @JsonIgnore
        public String getWizardParam10() {
            getString(FIELD_WIZARDPARAM10, null);
        }
       
        @JsonIgnore
        public void setWizardParam10(String value) {
            set(FIELD_WIZARDPARAM10, value);
        }

        public final static String FIELD_WIZARDPARAM11 = "wizardparam11";

        @JsonIgnore
        public Integer getWizardParam11() {
            getInteger(FIELD_WIZARDPARAM11, null);
        }
       
        @JsonIgnore
        public void setWizardParam11(Integer value) {
            set(FIELD_WIZARDPARAM11, value);
        }

        public final static String FIELD_WIZARDPARAM12 = "wizardparam12";

        @JsonIgnore
        public Integer getWizardParam12() {
            getInteger(FIELD_WIZARDPARAM12, null);
        }
       
        @JsonIgnore
        public void setWizardParam12(Integer value) {
            set(FIELD_WIZARDPARAM12, value);
        }

        public final static String FIELD_WIZARDPARAM13 = "wizardparam13";

        @JsonIgnore
        public Integer getWizardParam13() {
            getInteger(FIELD_WIZARDPARAM13, null);
        }
       
        @JsonIgnore
        public void setWizardParam13(Integer value) {
            set(FIELD_WIZARDPARAM13, value);
        }

        public final static String FIELD_WIZARDPARAM14 = "wizardparam14";

        @JsonIgnore
        public Integer getWizardParam14() {
            getInteger(FIELD_WIZARDPARAM14, null);
        }
       
        @JsonIgnore
        public void setWizardParam14(Integer value) {
            set(FIELD_WIZARDPARAM14, value);
        }

        public final static String FIELD_WIZARDPARAM15 = "wizardparam15";

        @JsonIgnore
        public Integer getWizardParam15() {
            getInteger(FIELD_WIZARDPARAM15, null);
        }
       
        @JsonIgnore
        public void setWizardParam15(Integer value) {
            set(FIELD_WIZARDPARAM15, value);
        }

        public final static String FIELD_WIZARDPARAM16 = "wizardparam16";

        @JsonIgnore
        public Integer getWizardParam16() {
            getInteger(FIELD_WIZARDPARAM16, null);
        }
       
        @JsonIgnore
        public void setWizardParam16(Integer value) {
            set(FIELD_WIZARDPARAM16, value);
        }

        public final static String FIELD_WIZARDPARAM17 = "wizardparam17";

        @JsonIgnore
        public java.math.BigDecimal getWizardParam17() {
            getBigDecimal(FIELD_WIZARDPARAM17, null);
        }
       
        @JsonIgnore
        public void setWizardParam17(java.math.BigDecimal value) {
            set(FIELD_WIZARDPARAM17, value);
        }

        public final static String FIELD_WIZARDPARAM18 = "wizardparam18";

        @JsonIgnore
        public java.math.BigDecimal getWizardParam18() {
            getBigDecimal(FIELD_WIZARDPARAM18, null);
        }
       
        @JsonIgnore
        public void setWizardParam18(java.math.BigDecimal value) {
            set(FIELD_WIZARDPARAM18, value);
        }

        public final static String FIELD_WIZARDPARAM19 = "wizardparam19";

        @JsonIgnore
        public java.sql.Timestamp getWizardParam19() {
            getTimestamp(FIELD_WIZARDPARAM19, null);
        }
       
        @JsonIgnore
        public void setWizardParam19(java.sql.Timestamp value) {
            set(FIELD_WIZARDPARAM19, value);
        }

        public final static String FIELD_WIZARDPARAM2 = "wizardparam2";

        @JsonIgnore
        public String getWizardParam2() {
            getString(FIELD_WIZARDPARAM2, null);
        }
       
        @JsonIgnore
        public void setWizardParam2(String value) {
            set(FIELD_WIZARDPARAM2, value);
        }

        public final static String FIELD_WIZARDPARAM20 = "wizardparam20";

        @JsonIgnore
        public java.sql.Timestamp getWizardParam20() {
            getTimestamp(FIELD_WIZARDPARAM20, null);
        }
       
        @JsonIgnore
        public void setWizardParam20(java.sql.Timestamp value) {
            set(FIELD_WIZARDPARAM20, value);
        }

        public final static String FIELD_WIZARDPARAM3 = "wizardparam3";

        @JsonIgnore
        public Integer getWizardParam3() {
            getInteger(FIELD_WIZARDPARAM3, null);
        }
       
        @JsonIgnore
        public void setWizardParam3(Integer value) {
            set(FIELD_WIZARDPARAM3, value);
        }

        public final static String FIELD_WIZARDPARAM4 = "wizardparam4";

        @JsonIgnore
        public Integer getWizardParam4() {
            getInteger(FIELD_WIZARDPARAM4, null);
        }
       
        @JsonIgnore
        public void setWizardParam4(Integer value) {
            set(FIELD_WIZARDPARAM4, value);
        }

        public final static String FIELD_WIZARDPARAM5 = "wizardparam5";

        @JsonIgnore
        public String getWizardParam5() {
            getString(FIELD_WIZARDPARAM5, null);
        }
       
        @JsonIgnore
        public void setWizardParam5(String value) {
            set(FIELD_WIZARDPARAM5, value);
        }

        public final static String FIELD_WIZARDPARAM6 = "wizardparam6";

        @JsonIgnore
        public String getWizardParam6() {
            getString(FIELD_WIZARDPARAM6, null);
        }
       
        @JsonIgnore
        public void setWizardParam6(String value) {
            set(FIELD_WIZARDPARAM6, value);
        }

        public final static String FIELD_WIZARDPARAM7 = "wizardparam7";

        @JsonIgnore
        public String getWizardParam7() {
            getString(FIELD_WIZARDPARAM7, null);
        }
       
        @JsonIgnore
        public void setWizardParam7(String value) {
            set(FIELD_WIZARDPARAM7, value);
        }

        public final static String FIELD_WIZARDPARAM8 = "wizardparam8";

        @JsonIgnore
        public String getWizardParam8() {
            getString(FIELD_WIZARDPARAM8, null);
        }
       
        @JsonIgnore
        public void setWizardParam8(String value) {
            set(FIELD_WIZARDPARAM8, value);
        }

        public final static String FIELD_WIZARDPARAM9 = "wizardparam9";

        @JsonIgnore
        public String getWizardParam9() {
            getString(FIELD_WIZARDPARAM9, null);
        }
       
        @JsonIgnore
        public void setWizardParam9(String value) {
            set(FIELD_WIZARDPARAM9, value);
        }
    }

    @Qualifier(PSUWAPPVIEW)
    public static interface IPSUWAppViewService extends IProxyDEService<PSUWAppViewDTO, SearchContextDTO>{

        /**
         * 行为标识: 添加实体视图到应用
         */
        public final static String ACTION_BATADDDEVIEWTOAPPMODULE = "BATADDDEVIEWTOAPPMODULE"; 

        /**
         * 行为: 添加实体视图到应用
         */
        void bATAddDEViewToAppModule(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_BATADDDEVIEWTOAPPMODULE)
        //void doBATAddDEViewToAppModule(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 计算部件过滤条件
         */
        public final static String ACTION_CALCCTRLFILTER = "CALCCTRLFILTER"; 

        /**
         * 行为: 计算部件过滤条件
         */
        void calcCtrlFilter(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_CALCCTRLFILTER)
        //void doCalcCtrlFilter(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 初始化视图参数
         */
        public final static String ACTION_COMFIRMVIEWRESOURSE = "COMFIRMVIEWRESOURSE"; 

        /**
         * 行为: 初始化视图参数
         */
        void comfirmViewResourse(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_COMFIRMVIEWRESOURSE)
        //void doComfirmViewResourse(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: Create4
         */
        public final static String ACTION_CREATE4 = "CREATE4"; 

        /**
         * 行为: Create4
         */
        void create4(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_CREATE4)
        //void doCreate4(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 完成向导
         */
        public final static String ACTION_FINISHWIZARD = "FINISHWIZARD"; 

        /**
         * 行为: 完成向导
         */
        void finishWizard(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_FINISHWIZARD)
        //void doFinishWizard(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 完成向导2
         */
        public final static String ACTION_FINISHWIZARD2 = "FINISHWIZARD2"; 

        /**
         * 行为: 完成向导2
         */
        void finishWizard2(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_FINISHWIZARD2)
        //void doFinishWizard2(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 完成新建视图部件向导
         */
        public final static String ACTION_FINISHWIZARD4 = "FINISHWIZARD4"; 

        /**
         * 行为: 完成新建视图部件向导
         */
        void finishWizard4(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_FINISHWIZARD4)
        //void doFinishWizard4(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 初始化视图参数
         */
        public final static String ACTION_INITVIEWPARAM = "INITVIEWPARAM"; 

        /**
         * 行为: 初始化视图参数
         */
        void initViewParam(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_INITVIEWPARAM)
        //void doInitViewParam(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 更新部件类型
         */
        public final static String ACTION_UPDATECTRLTYPE = "UPDATECTRLTYPE"; 

        /**
         * 行为: 更新部件类型
         */
        void updateCtrlType(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_UPDATECTRLTYPE)
        //void doUpdateCtrlType(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 计算部件过滤条件
         */
        public final static String ACTION_UPDATEDEFAULTCTRL = "UPDATEDEFAULTCTRL"; 

        /**
         * 行为: 计算部件过滤条件
         */
        void updateDefaultCtrl(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_UPDATEDEFAULTCTRL)
        //void doUpdateDefaultCtrl(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 行为标识: 更新视图类型
         */
        public final static String ACTION_UPDATEVIEWTYPE = "UPDATEVIEWTYPE"; 

        /**
         * 行为: 更新视图类型
         */
        void updateViewType(PSUWAppViewDTO dto) throws Throwable;
        //@DEAction(IPSUWAppViewService.ACTION_UPDATEVIEWTYPE)
        //void doUpdateViewType(PSUWAppViewDTO dto) throws Throwable;

        /**
         * 集合标识: 数据集
         *
         */
        public final static String DATASET_DEFAULT = "DEFAULT";

        /**
         * 集合: 数据集
         *
         */
        Page<PSUWAppViewDTO> fetchDefault(SearchContextDTO dto) throws Throwable;
    }


    public static class DataEntityRuntimeExBase extends net.ibizsys.modeling.core.dataentity.DataEntityRuntimeBase{
	    
	    @Override
	    protected IEntityDTO createEntityDTO(IPSDEMethodDTO iPSDEMethodDTO) {
		    switch(this.getName()) {
                case PSASVIEWCTRL:
				    return new PSASViewCtrlDTO();
                case PSUWAPPVIEW:
				    return new PSUWAppViewDTO();
			    default:
				    return super.createEntityDTO(iPSDEMethodDTO);
		    }
	    }
    }
}
